var http = require("http");
var fs = require('fs');
http.createServer(function(request, response) {
    response.writeHead(200, {"Content-Type": "text/html"});
    /*console.log(fs);*/
    fs.readFile("test.html",function(error,content){
        /*console.log(error);*/
        response.write(content);
        response.end();
    });
}).listen(8899);

console.log("nodejs start listen 8899 port1!");